import Vue from "vue"
import IconSvg from "@/components/SvgIcon"

const requireAll = requireContext =>
    requireContext.keys().map(requireContext)
const req = require.context('./svg', false, /\.svg$/)
requireAll(req)
Vue.component('icon-svg', IconSvg)